import request from '/@/utils/request';

const alarmApi = {
	page(data: object) {
		return request({
			url: '/api/v1/smoke/alarm/page',
			method: 'post',
			data,
		})
	},

	haneleAlarm(data: object) {
		return request({
			url: '/api/v1/smoke/alarm/handleAlarm',
			method: 'post',
			data,
		})
	},

	getAlarmFile(data: object) {
		return request({
			url: '/api/v1/smoke/alarm/getAlarmFile',
			method: 'post',
			data,
		})
	},
}
export default alarmApi